package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_AccountCountForUser", catalog="Id")
public class TcwAccountCountForUser extends BaseEntity<TcwAccountCountForUser> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Guid", nameJava="guid", typeDataBase="varchar")
	private String guid;
	@YsField(nameDataBase="UserId", nameJava="userId", typeDataBase="varchar")
	private String userId;
	@YsField(nameDataBase="UserName", nameJava="userName", typeDataBase="varchar")
	private String userName;
	@YsField(nameDataBase="FJe", nameJava="fJe", typeDataBase="decimal")
	private BigDecimal fJe;
	@YsField(nameDataBase="FFzEd", nameJava="fFzEd", typeDataBase="decimal")
	private BigDecimal fFzEd;
	@YsField(nameDataBase="FDjJe", nameJava="fDjJe", typeDataBase="decimal")
	private BigDecimal fDjJe;
	@YsField(nameDataBase="BDeleted", nameJava="bDeleted", typeDataBase="bit")
	private Integer bDeleted;
	@YsField(nameDataBase="Point", nameJava="point", typeDataBase="decimal")
	private BigDecimal point;
	@YsField(nameDataBase="PointTerm", nameJava="pointTerm", typeDataBase="decimal")
	private BigDecimal pointTerm;
	@YsField(nameDataBase="PointAll", nameJava="pointAll", typeDataBase="decimal")
	private BigDecimal pointAll;
	@YsField(nameDataBase="PointAble", nameJava="pointAble", typeDataBase="decimal")
	private BigDecimal pointAble;
	@YsField(nameDataBase="PointFrozen", nameJava="pointFrozen", typeDataBase="decimal")
	private BigDecimal pointFrozen;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwAccountCountForUser setId(Long id) {
		this.id = id;
		return this;
	}
	public String getGuid() {
		return guid;
	}
	public TcwAccountCountForUser setGuid(String guid) {
		this.guid = guid;
		return this;
	}
	public String getUserId() {
		return userId;
	}
	public TcwAccountCountForUser setUserId(String userId) {
		this.userId = userId;
		return this;
	}
	public String getUserName() {
		return userName;
	}
	public TcwAccountCountForUser setUserName(String userName) {
		this.userName = userName;
		return this;
	}
	public BigDecimal getFJe() {
		return fJe;
	}
	public TcwAccountCountForUser setFJe(BigDecimal fJe) {
		this.fJe = fJe;
		return this;
	}
	public BigDecimal getFFzEd() {
		return fFzEd;
	}
	public TcwAccountCountForUser setFFzEd(BigDecimal fFzEd) {
		this.fFzEd = fFzEd;
		return this;
	}
	public BigDecimal getFDjJe() {
		return fDjJe;
	}
	public TcwAccountCountForUser setFDjJe(BigDecimal fDjJe) {
		this.fDjJe = fDjJe;
		return this;
	}
	public Integer getBDeleted() {
		return bDeleted;
	}
	public TcwAccountCountForUser setBDeleted(Integer bDeleted) {
		this.bDeleted = bDeleted;
		return this;
	}
	public BigDecimal getPoint() {
		return point;
	}
	public TcwAccountCountForUser setPoint(BigDecimal point) {
		this.point = point;
		return this;
	}
	public BigDecimal getPointTerm() {
		return pointTerm;
	}
	public TcwAccountCountForUser setPointTerm(BigDecimal pointTerm) {
		this.pointTerm = pointTerm;
		return this;
	}
	public BigDecimal getPointAll() {
		return pointAll;
	}
	public TcwAccountCountForUser setPointAll(BigDecimal pointAll) {
		this.pointAll = pointAll;
		return this;
	}
	public BigDecimal getPointAble() {
		return pointAble;
	}
	public TcwAccountCountForUser setPointAble(BigDecimal pointAble) {
		this.pointAble = pointAble;
		return this;
	}
	public BigDecimal getPointFrozen() {
		return pointFrozen;
	}
	public TcwAccountCountForUser setPointFrozen(BigDecimal pointFrozen) {
		this.pointFrozen = pointFrozen;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwAccountCountForUser setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwAccountCountForUser setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwAccountCountForUser setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwAccountCountForUser tcwAccountCountForUser(
		String guid,
		String userId,
		String userName,
		BigDecimal fJe,
		BigDecimal fFzEd,
		BigDecimal fDjJe,
		Integer bDeleted,
		BigDecimal point,
		BigDecimal pointTerm,
		BigDecimal pointAll,
		BigDecimal pointAble,
		BigDecimal pointFrozen,
		Integer status
			) {
		TcwAccountCountForUser entity = new TcwAccountCountForUser();
		entity.setGuid(guid);
		entity.setUserId(userId);
		entity.setUserName(userName);
		entity.setFJe(fJe);
		entity.setFFzEd(fFzEd);
		entity.setFDjJe(fDjJe);
		entity.setBDeleted(bDeleted);
		entity.setPoint(point);
		entity.setPointTerm(pointTerm);
		entity.setPointAll(pointAll);
		entity.setPointAble(pointAble);
		entity.setPointFrozen(pointFrozen);
		entity.setStatus(status);
		return entity;
	}
}